/*
 *  hlfs_open.c
 *  Kanghua <kanghua151@msn.com> (C) 2011
 */

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <glib.h>
#include "hlfs.h"
#include "comm_define.h"
#include "misc.h"
#include "logger.h"



int hlfs_close(struct hlfs_ctrl *ctrl){
    int ret =0;
    if(ctrl->cur_file_handler!=NULL)
       ret = ctrl->storage->bs_file_close(ctrl->storage,(bs_file_t)ctrl->cur_file_handler);
    return ret;
}        

